using Net35.Xrm.Sdk;
using System;
using System.Runtime.Serialization;
namespace Net35.Crm.Sdk.Messages
{
	[DataContract(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed class DisassociateEntitiesRequest : OrganizationRequest
	{
		public EntityReference Moniker1
		{
			get
			{
				if (base.Parameters.Contains("Moniker1"))
				{
					return (EntityReference)base.Parameters["Moniker1"];
				}
				return null;
			}
			set
			{
				base.Parameters["Moniker1"] = value;
			}
		}
		public EntityReference Moniker2
		{
			get
			{
				if (base.Parameters.Contains("Moniker2"))
				{
					return (EntityReference)base.Parameters["Moniker2"];
				}
				return null;
			}
			set
			{
				base.Parameters["Moniker2"] = value;
			}
		}
		public string RelationshipName
		{
			get
			{
				if (base.Parameters.Contains("RelationshipName"))
				{
					return (string)base.Parameters["RelationshipName"];
				}
				return null;
			}
			set
			{
				base.Parameters["RelationshipName"] = value;
			}
		}
		public DisassociateEntitiesRequest()
		{
			base.RequestName = "DisassociateEntities";
			this.Moniker1 = null;
			this.Moniker2 = null;
			this.RelationshipName = null;
		}
	}
}
